<template>
  <el-container>
    <el-aside width="200px">
      <ASide />
    </el-aside>
    <el-container>
      <el-main>
        <Main :setSelectSchema="setSelectSchema" />
      </el-main>
      <rightPanel :schema="selectSchema" />
    </el-container>
  </el-container>
</template>

<script>
import ASide from "./aside/index";
import Main from "./main/index";
import rightPanel from "./rightPanel";

export default {
  components: {
    ASide,
    Main,
    rightPanel,
  },
  data() {
    return {
      list: [],
      selectSchema: null,
    };
  },
  methods: {
    setSelectSchema(schema) {
      this.selectSchema = schema;
    },
  },
};
</script>

<style></style>
